dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03d9a8
)
Changing UploadComplete hook call so it actually does what the docs say it does....
author
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 1 Feb 2008 19:26:58 +0000
(19:26 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Fri, 1 Feb 2008 19:26:58 +0000
(19:26 +0000)
includes/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/SpecialUpload.php
b/includes/SpecialUpload.php
index
07d134b
..
3031f72
100644
(file)
--- a/
includes/SpecialUpload.php
+++ b/
includes/SpecialUpload.php
@@
-558,7
+558,7
@@
class UploadForm {
}
// Success, redirect to description page
$img = null; // @todo: added to avoid passing a ref to null - should this be defined somewhere?
- wfRunHooks( 'UploadComplete', array( &$
img
) );
+ wfRunHooks( 'UploadComplete', array( &$
this
) );
return self::SUCCESS;
}
}